package org.bdware.irs.backend.dto;

public class LoginUser {
    String doi;
    // header.payload.signature "eyJhbGciOiJFUzI1NiIsImtpZCI6IjEyMzQ1NiJ9.aGVsbG8.UmGZzEhI8WPhu-FEu4IPRmCJpClTlPC-yYpVt5YW0GMLbKDlTVoG7QWyILWEsblHdAqkRHieRNnSVxySbl8pvA"
    String token;
    String source;
    String role;

    public LoginUser() {
    }

    public LoginUser(String doi, String token) {
        this.doi = doi;
        this.token = token;
    }


    public LoginUser(String doi, String token, String source) {
        this.doi = doi;
        this.token = token;
        this.source = source;
    }


    public LoginUser(String doi, String token, String source, String role) {
        this.doi = doi;
        this.token = token;
        this.source = source;
        this.role = role;
    }

    public String getDoi() {
        return doi;
    }

    public void setDoi(String doi) {
        this.doi = doi;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }
}
